github.com/klauspost/compress/flate.advancedState.index (field)

51 uses

	github.com/klauspost/compress/flate (current package)
		deflate.go#L95: 	index     int
		deflate.go#L133: 	if s.index >= 2*windowSize-(minMatchLength+maxMatchLength) {
		deflate.go#L137: 		s.index -= windowSize
		deflate.go#L263: 	s.index = n
		deflate.go#L399: 	s.index = 0
		deflate.go#L415: 	if d.windowEnd-s.index < minMatchLength+maxMatchLength && !d.sync {
		deflate.go#L418: 	if d.windowEnd != s.index && d.chain > 100 {
		deflate.go#L424: 		toIndex := d.window[s.index:d.windowEnd]
		deflate.go#L435: 		if sanity && s.index > d.windowEnd {
		deflate.go#L438: 		lookahead := d.windowEnd - s.index
		deflate.go#L443: 			if sanity && s.index > d.windowEnd {
		deflate.go#L450: 					d.tokens.AddLiteral(d.window[s.index-1])
		deflate.go#L454: 					if d.err = d.writeBlock(&d.tokens, s.index, false); d.err != nil {
		deflate.go#L462: 		if s.index < s.maxInsertIndex {
		deflate.go#L464: 			hash := hash4(d.window[s.index:])
		deflate.go#L467: 			s.hashPrev[s.index&windowMask] = ch
		deflate.go#L468: 			s.hashHead[hash] = uint32(s.index + s.hashOffset)
		deflate.go#L474: 		minIndex := max(s.index-windowSize, 0)
		deflate.go#L477: 			if newLength, newOffset, ok := d.findMatch(s.index, s.chainHead-s.hashOffset, lookahead); ok {
		deflate.go#L492: 				prevIndex := s.index - 1
		deflate.go#L515: 											if d.err = d.writeBlock(&d.tokens, s.index, false); d.err != nil {
		deflate.go#L520: 										s.index++
		deflate.go#L521: 										if s.index < s.maxInsertIndex {
		deflate.go#L522: 											h := hash4(d.window[s.index:])
		deflate.go#L525: 											s.hashPrev[s.index&windowMask] = ch
		deflate.go#L526: 											s.hashHead[h] = uint32(s.index + s.hashOffset)
		deflate.go#L556: 													if d.err = d.writeBlock(&d.tokens, s.index, false); d.err != nil {
		deflate.go#L561: 												s.index++
		deflate.go#L562: 												if s.index < s.maxInsertIndex {
		deflate.go#L563: 													h := hash4(d.window[s.index:])
		deflate.go#L566: 													s.hashPrev[s.index&windowMask] = ch
		deflate.go#L567: 													s.hashHead[h] = uint32(s.index + s.hashOffset)
		deflate.go#L589: 			newIndex := s.index + prevLength - 1
		deflate.go#L593: 			startindex := min(s.index+1, s.maxInsertIndex)
		deflate.go#L611: 			s.index = newIndex
		deflate.go#L616: 				if d.err = d.writeBlock(&d.tokens, s.index, false); d.err != nil {
		deflate.go#L630: 				d.tokens.AddLiteral(d.window[s.index-1])
		deflate.go#L632: 					if d.err = d.writeBlock(&d.tokens, s.index, false); d.err != nil {
		deflate.go#L637: 				s.index++
		deflate.go#L644: 						if s.index >= d.windowEnd-1 {
		deflate.go#L647: 						d.tokens.AddLiteral(d.window[s.index-1])
		deflate.go#L649: 							if d.err = d.writeBlock(&d.tokens, s.index, false); d.err != nil {
		deflate.go#L655: 						if s.index < s.maxInsertIndex {
		deflate.go#L656: 							h := hash4(d.window[s.index:])
		deflate.go#L659: 							s.hashPrev[s.index&windowMask] = ch
		deflate.go#L660: 							s.hashHead[h] = uint32(s.index + s.hashOffset)
		deflate.go#L662: 						s.index++
		deflate.go#L665: 					d.tokens.AddLiteral(d.window[s.index-1])
		deflate.go#L669: 						if d.err = d.writeBlock(&d.tokens, s.index, false); d.err != nil {
		deflate.go#L676: 				s.index++
		deflate.go#L855: 		s.index, d.windowEnd = 0, 0